package org.learnredis.student;

import org.apache.commons.lang3.StringUtils;

public class FullNameComparator implements StudentComparator{


    @Override
    public int compare(Student s1, Student s2) {
        String s1Name = s1.getFullName();
        String s2Name = s2.getFullName();
        return StringUtils.compare(s1Name, s2Name);
    }

}
